#include "Box.h"

Box* Box::create(const char *pszFileName, const CCRect& rect)
{
	Box* box = new Box();
	if(box && box->initWithFile(pszFileName, rect))
	{
		box->autorelease();
		return box;
	}

	CC_SAFE_DELETE(box);

	return NULL;
}

